#include <command.h>
#include <stdio.h>

int do_memtest(int argc, char *argv[])
{
	uint32_t err_addr;
	uint32_t start_addr, end_addr;

	if (memtest_marchtbw(0x30400000, 0x31000000, &err_addr)) {
		printf("error address 0x%x!\n", err_addr);
	}

	return 0;
}

MBOOT_CMD(
		memtest, do_memtest,
		"test memory",
		""
);
